ComponentOne Basic Library for WPF and Silverlight
Show(String,String,Action<String,MessageBoxResult>) Method


C1.Silverlight Namespace > C1PromptBox Class > Show Method : Show(String,String,Action<String,MessageBoxResult>) Method
The text to display as a message.
The title bar caption.
An System.Action`1 which is called with the user input.
Displays a prompt box that has a message, title bar caption, and calls back with the user input.
Syntax
'Declaration
 
Public Overloads Shared Sub Show( _
   ByVal message As System.String, _
   ByVal caption As System.String, _
   ByVal callback As System.Action(Of String,MessageBoxResult) _
) 
'Usage
 
Dim message As System.String
Dim caption As System.String
Dim callback As System.Action(Of String,MessageBoxResult)
 
C1PromptBox.Show(message, caption, callback)
public static void Show( 
   System.string message,
   System.string caption,
   System.Action<string,MessageBoxResult> callback
)

Parameters

message
The text to display as a message.
caption
The title bar caption.
callback
An System.Action`1 which is called with the user input.
See Also

Reference

C1PromptBox Class
C1PromptBox Members
Overload List